home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr28 / blts992.zip / DBASE411.TXT < prev    next >
Text File  |  1993-03-01  |  11KB  |  206 lines

  1. Compatibility Statement
  2. dBASE IV v1.1 (standard edition) has been tested as compatible with
  3. LANtastic 4.x. This bulletin has been designed to help with the
  4. installation and setup of this product.  
  5.  
  6. Installing dBASE IV
  7. The machine on which dBASE IV will be installed must be configured
  8. as a network server, and will be referred to as the dBASE server. 
  9. At the dBASE server, insert the INSTALL disk in the floppy drive
  10. and from the floppy prompt type INSTALL.  Follow the prompts for a
  11. full, multi-user installation.  The system will not ask for network
  12. type, but please refer to the IBM PC LAN sections of the
  13. documentation whenever a network related question arises.  The
  14. install program will not update the autoexec.bat or config.sys
  15. files when installing multi-user.  Borland/Ashton-Tate recommends
  16. the following as a minimum for files and buffers in the config.sys
  17. file: BUFFERS=15  FILES=40.  The following formula can be used to
  18. calculate the appropriate number of files: FILES = ((Number of
  19. Nodes * 20) + 20). The DOS SHARE program should be loaded on the
  20. server.  You may want to proceed with the installation of dBASEIV
  21. LAN Pack to add more users to your environment after dBASE IV is
  22. installed.
  23.  
  24. Configuration
  25. When installed, dBASE creates two directories (\DBASE and
  26. \DBNETCTL.300) on the dBASE server.  dBASE must have access to both
  27. directories on the same drive specification.  For ease of
  28. documentation, let's use F: to denote the drive under which these
  29. 2 directories are located.  Include the directories in each user's
  30. DOS search path.
  31. In a typical database application, multiple users will want to
  32. share some common data files while maintaining certain user-
  33. specific setup.  dBASE IV refers to a file called Config.db for
  34. configuration parameters.  The search path for locating this
  35. Config.db file is as follows: first dBASE IV will look at the
  36. current directory, then the \DBASE directory and finally it will
  37. follow the DOS search path.  Thus, if each user would like to
  38. maintain his own Config.db file, he can put the file on the local
  39. drive of his workstation, put his local drive on his DOS search
  40. path and make sure that there are no other Config.db file in the
  41. \DBASE directory.  Thus, it is suggested that you follow these
  42. steps to share dBASE across the network once it has been installed
  43. on the dBASE server.
  44. 1.     Log into the dBASE server and redirect a drive designation to
  45.        the root directory. i.e.:
  46.        net login \\<server> <username> <password>                              
  47.        {Where <server> is the name of the dBASE server, and an
  48.         account for <username> with <password> (if applicable) has
  49.         been configured on the server}
  50.        net use f: \\<server>\<c-drive>                                         
  51.        {Where <c-drive> is a resource which has been created on the
  52.         dBASE server for the root directory. The physical link
  53.         path may be something like c:\}
  54. 2.     Set up the DOS path on your workstations as described above. It 
  55.        should contain at least these 3 segments: <local drive(e.g. c:\)>, 
  56.         f:\DBASE and f:\DBNETCTL.300.
  57. 3.     When configuring dBASE for the first time, each workstation
  58.        should run the setup program called DBSETUP, which configures
  59.        the (local) Config.db file to set up the workstation-specific
  60.        parameters like default printers, screen display, temporary
  61.        file locations, etc.  
  62. 4.     To set up printers, select Printers, Drivers, press Shift-F1
  63.        to select printers and Ctrl-End to save.  DBSETUP will ask for
  64.        the location of the Config.db file.  Save it to the local
  65.        drive of each node.
  66. 5.     Set all f:\DBASE files to read-only (using ATTRIB +r *.*).
  67. 6.     To share data with other users, you can cd to the directory
  68.        containing the common data files before you start dBASE.  If
  69.        that directory happens to be on a drive other than the drive
  70.        containing dBASE IV, you should invoke dBASE with the
  71.        following command:
  72.         dbase #df=f                                              
  73.        {or dbase #df=<drive>, where <drive> is the drive containing
  74.         \DBNETCTL.300}
  75.  
  76. Disk Caching with DBCACHE
  77. dBASE IV v1.1 standard edition does not use extended or expanded
  78. memory, except if you choose to install DBCACHE.  The DBCACHE
  79. program (also known as Hyperdisk) provided within dBASE IV does not
  80. improve the network data transfer rate because it doesn't cache
  81. network drives.  Borland/Ashton-Tate suggests that you move certain
  82. system and temporary files to your local workstation to make use of
  83. local disk caching to improve performance.  Make sure that you read
  84. all 3 of these documents before you start implementing this disk
  85. caching utility:
  86. 1. p.1-3 of the Getting Started Manual, Disk Caching with DBCACHE.
  87. 2. p.4-5 of the Getting Started Manual, Network Installation.
  88. 3. p.6 - p.7 of the README.DOC file, which should be in the
  89.         f:\DBASE directory.
  90. You may want to run LANcache on the server for performance
  91. optimization at the operating system level.  Please refer to p.37 -
  92.  p.51 of the LANtastic NOS Reference Manual for details on
  93. LANcache.  Both LANcache and DBCACHE can make use of extended or
  94. expanded memory on the machine.  If you are using the Artisoft
  95. 2Mbps adapter, any memory driver should be configured to exclude
  96. the RAMBASE used by the network adapter.  For example, when using
  97. Quarterdeck's QEMM.SYS and an Artisoft 2Mbps adapter with a RAMBASE
  98. selection of D000-D800, the config.sys file should include this
  99. line: DEVICE=QEMM.SYS RAM X=D000-D800.
  100.  
  101. File and Record Locking
  102. dBASE IV v1.1 provides automatic file and record locking.  This
  103. allows multiple users to simultaneously access and update different
  104. parts of the same database file without requiring explicit file and
  105. record locks.  Locking happens in dBASE at four levels: Automatic
  106. file locking, Automatic record locking, Explicit file locking and
  107. Explicit record locking.  Please refer to your documentation for
  108. more information. Again, DOS SHARE must be loaded on the dBASE
  109. server for file and record locking to function correctly. 
  110.  
  111. Opening Files
  112. A file can be opened under dBASE IV in one of two modes - exclusive
  113. or shared.  If a file is opened in exclusive mode, only one
  114. requesting user can access the file at a time so there is no need
  115. to lock the file or any record in the file.  If a file is opened in
  116. shared mode, multiple users on the network can access the file so
  117. files and records should be locked before updating.  The user can
  118. change how the file is opened with the SET EXCLUSIVE command.  The
  119. default for multi-user is SET EXCLUSIVE OFF, which allows the files
  120. to be shared.  If the user reports difficulties with file sharing,
  121. check to see that SET EXCLUSIVE is OFF.
  122.  
  123. Printing
  124. A user may print to both a local and a redirected device through
  125. dBASE by using the SET PRINTER command.  This command can be used
  126. to establish the actual link to a network printer.  There are
  127. several ways a printer can be configured using dBASE. The following
  128. are two methods:
  129.  
  130. Method 1:
  131. Issue the NET USE command through the operating system to establish
  132. the printer connection.  Tell dBASE which redirected port to send
  133. output to.  i.e.:
  134. net use LPT1 \\<server>\@printer
  135.    -Issued from the network DOS prompt; links the <server>'s
  136.    @printer resource to LPT1.
  137. set printer to LPT1
  138.    -Issued from the dBASE dot prompt; tells dBASE which port to
  139.    direct the output to.
  140.  
  141. Method 2:
  142. Do not issue a NET USE command from the network and allow dBASE to
  143. control all network printer links through the SET commands. i.e.:
  144. For redirected printers:
  145. set printer to \\<server>\@printer=<port>
  146.    -Issued from the dBASE dot prompt; redirects <port> (LPT1, LPT2,
  147.    etc.) to the server's
  148.     @printer resource.
  149. For local printers (assume LPT2 is a local device):
  150. set printer to LPT2
  151.    -Issued from the dBASE dos prompt; instructs dBASE to send the
  152.    output to that local device.
  153.  
  154. If the user establishes a printer connection via the NET USE
  155. command prior to running dBASE, that NET USE command will override
  156. any SET PRINTER command given afterwards, i.e., if the user issues
  157. a net use LPT1 \\<server1>\@printer from DOS and then a set printer
  158. \\<server2>\@printer=LPT1 from the dBASE dot prompt, the output
  159. will be directed to <server1>'s @printer device.
  160.  
  161. Printing Problems
  162. Earlier printing problems were reported when printing with dBASE IV
  163. v1.1 and LANtastic 3.0.  Fixes have been provided by both parties,
  164. and users only need to choose either one (but not both) of the
  165. options:
  166. - Borland/Ashton-Tate provides a maintenance version (X507A) which
  167. resolves this problem in dBASE v1.1.  This version uses a DOS
  168. environment variable (set NOXON=ON) which may interfere with
  169. Postscript printing.  ( Thus, you should only consider this option
  170. if you are not using Postscript printing on your application. )
  171. - The Artisoft Sales department can be contacted for an update to
  172. LANtastic NOS 4.0, which also fixes the problem.  
  173.  
  174. Security
  175. Security may become an issue when sharing data among multiple users
  176. on a network.  dBASE IV provides a PROTECT command, which includes
  177. three types of database protection; Log-in Security, File and field
  178. access security, and data encryption. Once PROTECT is used, the
  179. security system will always control access to database files.  If
  180. you decide to implement security, a user profile must be created
  181. for each operator.  There are eight user access levels, assigning
  182. a lower number gives the user greater access privileges and
  183. assigning a higher number limits the user's access.  The access
  184. level is established for each user in the user's profile.  Please
  185. refer to your documentation for more information on PROTECT.
  186.  
  187. Summary
  188. This document has been designed to help with the installation and
  189. setup of dBASE IV v1.1 (standard edition) and to provide a
  190. guideline for trouble shooting. If a problem arises which cannot be
  191. resolved through this bulletin, please contact our technical
  192. support staff at (602) 293-6363. Additional support is also
  193. available through documentation provided by Borland/Ashton-Tate. 
  194. The 1.1 Release Edition of their TechNotes/dBASE IV contains some
  195. useful pointers under the section Transaction Processing and LANs.
  196.  
  197. Any questions or suggestions regarding this bulletin may be mailed
  198. to our offices:
  199. Artisoft, Inc., 691 East River Road, Tucson, AZ  85704
  200. ATTN: Compatibility Department / dBASE IV v1.1 Support.
  201.  
  202. Vendor Info
  203. Borland International/Ashton-Tate 
  204. Technical Support (Database)
  205. P.O. Box 660001, Scotts Valley  CA 95067-0001.  (408)431-9060.
  206.